package com.treasure.service.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TRebateConfigExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TRebateConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateIsNull() {
            addCriterion("u_apply_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateIsNotNull() {
            addCriterion("u_apply_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateEqualTo(Long value) {
            addCriterion("u_apply_card_rate =", value, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateNotEqualTo(Long value) {
            addCriterion("u_apply_card_rate <>", value, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateGreaterThan(Long value) {
            addCriterion("u_apply_card_rate >", value, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("u_apply_card_rate >=", value, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateLessThan(Long value) {
            addCriterion("u_apply_card_rate <", value, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateLessThanOrEqualTo(Long value) {
            addCriterion("u_apply_card_rate <=", value, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateIn(List<Long> values) {
            addCriterion("u_apply_card_rate in", values, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateNotIn(List<Long> values) {
            addCriterion("u_apply_card_rate not in", values, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateBetween(Long value1, Long value2) {
            addCriterion("u_apply_card_rate between", value1, value2, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUApplyCardRateNotBetween(Long value1, Long value2) {
            addCriterion("u_apply_card_rate not between", value1, value2, "uApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateIsNull() {
            addCriterion("u_invite_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateIsNotNull() {
            addCriterion("u_invite_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateEqualTo(Long value) {
            addCriterion("u_invite_card_rate =", value, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateNotEqualTo(Long value) {
            addCriterion("u_invite_card_rate <>", value, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateGreaterThan(Long value) {
            addCriterion("u_invite_card_rate >", value, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("u_invite_card_rate >=", value, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateLessThan(Long value) {
            addCriterion("u_invite_card_rate <", value, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateLessThanOrEqualTo(Long value) {
            addCriterion("u_invite_card_rate <=", value, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateIn(List<Long> values) {
            addCriterion("u_invite_card_rate in", values, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateNotIn(List<Long> values) {
            addCriterion("u_invite_card_rate not in", values, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateBetween(Long value1, Long value2) {
            addCriterion("u_invite_card_rate between", value1, value2, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteCardRateNotBetween(Long value1, Long value2) {
            addCriterion("u_invite_card_rate not between", value1, value2, "uInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateIsNull() {
            addCriterion("u_share_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateIsNotNull() {
            addCriterion("u_share_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateEqualTo(Long value) {
            addCriterion("u_share_card_rate =", value, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateNotEqualTo(Long value) {
            addCriterion("u_share_card_rate <>", value, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateGreaterThan(Long value) {
            addCriterion("u_share_card_rate >", value, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("u_share_card_rate >=", value, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateLessThan(Long value) {
            addCriterion("u_share_card_rate <", value, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateLessThanOrEqualTo(Long value) {
            addCriterion("u_share_card_rate <=", value, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateIn(List<Long> values) {
            addCriterion("u_share_card_rate in", values, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateNotIn(List<Long> values) {
            addCriterion("u_share_card_rate not in", values, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateBetween(Long value1, Long value2) {
            addCriterion("u_share_card_rate between", value1, value2, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUShareCardRateNotBetween(Long value1, Long value2) {
            addCriterion("u_share_card_rate not between", value1, value2, "uShareCardRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateIsNull() {
            addCriterion("u_invite_vip_rate is null");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateIsNotNull() {
            addCriterion("u_invite_vip_rate is not null");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateEqualTo(Long value) {
            addCriterion("u_invite_vip_rate =", value, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateNotEqualTo(Long value) {
            addCriterion("u_invite_vip_rate <>", value, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateGreaterThan(Long value) {
            addCriterion("u_invite_vip_rate >", value, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateGreaterThanOrEqualTo(Long value) {
            addCriterion("u_invite_vip_rate >=", value, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateLessThan(Long value) {
            addCriterion("u_invite_vip_rate <", value, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateLessThanOrEqualTo(Long value) {
            addCriterion("u_invite_vip_rate <=", value, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateIn(List<Long> values) {
            addCriterion("u_invite_vip_rate in", values, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateNotIn(List<Long> values) {
            addCriterion("u_invite_vip_rate not in", values, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateBetween(Long value1, Long value2) {
            addCriterion("u_invite_vip_rate between", value1, value2, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andUInviteVipRateNotBetween(Long value1, Long value2) {
            addCriterion("u_invite_vip_rate not between", value1, value2, "uInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateIsNull() {
            addCriterion("v_apply_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateIsNotNull() {
            addCriterion("v_apply_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateEqualTo(Long value) {
            addCriterion("v_apply_card_rate =", value, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateNotEqualTo(Long value) {
            addCriterion("v_apply_card_rate <>", value, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateGreaterThan(Long value) {
            addCriterion("v_apply_card_rate >", value, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("v_apply_card_rate >=", value, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateLessThan(Long value) {
            addCriterion("v_apply_card_rate <", value, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateLessThanOrEqualTo(Long value) {
            addCriterion("v_apply_card_rate <=", value, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateIn(List<Long> values) {
            addCriterion("v_apply_card_rate in", values, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateNotIn(List<Long> values) {
            addCriterion("v_apply_card_rate not in", values, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateBetween(Long value1, Long value2) {
            addCriterion("v_apply_card_rate between", value1, value2, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVApplyCardRateNotBetween(Long value1, Long value2) {
            addCriterion("v_apply_card_rate not between", value1, value2, "vApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateIsNull() {
            addCriterion("v_invite_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateIsNotNull() {
            addCriterion("v_invite_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateEqualTo(Long value) {
            addCriterion("v_invite_card_rate =", value, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateNotEqualTo(Long value) {
            addCriterion("v_invite_card_rate <>", value, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateGreaterThan(Long value) {
            addCriterion("v_invite_card_rate >", value, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("v_invite_card_rate >=", value, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateLessThan(Long value) {
            addCriterion("v_invite_card_rate <", value, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateLessThanOrEqualTo(Long value) {
            addCriterion("v_invite_card_rate <=", value, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateIn(List<Long> values) {
            addCriterion("v_invite_card_rate in", values, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateNotIn(List<Long> values) {
            addCriterion("v_invite_card_rate not in", values, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateBetween(Long value1, Long value2) {
            addCriterion("v_invite_card_rate between", value1, value2, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteCardRateNotBetween(Long value1, Long value2) {
            addCriterion("v_invite_card_rate not between", value1, value2, "vInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateIsNull() {
            addCriterion("v_invite_vip_rate is null");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateIsNotNull() {
            addCriterion("v_invite_vip_rate is not null");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateEqualTo(Long value) {
            addCriterion("v_invite_vip_rate =", value, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateNotEqualTo(Long value) {
            addCriterion("v_invite_vip_rate <>", value, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateGreaterThan(Long value) {
            addCriterion("v_invite_vip_rate >", value, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateGreaterThanOrEqualTo(Long value) {
            addCriterion("v_invite_vip_rate >=", value, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateLessThan(Long value) {
            addCriterion("v_invite_vip_rate <", value, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateLessThanOrEqualTo(Long value) {
            addCriterion("v_invite_vip_rate <=", value, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateIn(List<Long> values) {
            addCriterion("v_invite_vip_rate in", values, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateNotIn(List<Long> values) {
            addCriterion("v_invite_vip_rate not in", values, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateBetween(Long value1, Long value2) {
            addCriterion("v_invite_vip_rate between", value1, value2, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVInviteVipRateNotBetween(Long value1, Long value2) {
            addCriterion("v_invite_vip_rate not between", value1, value2, "vInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateIsNull() {
            addCriterion("v_share_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateIsNotNull() {
            addCriterion("v_share_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateEqualTo(Long value) {
            addCriterion("v_share_card_rate =", value, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateNotEqualTo(Long value) {
            addCriterion("v_share_card_rate <>", value, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateGreaterThan(Long value) {
            addCriterion("v_share_card_rate >", value, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("v_share_card_rate >=", value, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateLessThan(Long value) {
            addCriterion("v_share_card_rate <", value, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateLessThanOrEqualTo(Long value) {
            addCriterion("v_share_card_rate <=", value, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateIn(List<Long> values) {
            addCriterion("v_share_card_rate in", values, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateNotIn(List<Long> values) {
            addCriterion("v_share_card_rate not in", values, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateBetween(Long value1, Long value2) {
            addCriterion("v_share_card_rate between", value1, value2, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andVShareCardRateNotBetween(Long value1, Long value2) {
            addCriterion("v_share_card_rate not between", value1, value2, "vShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateIsNull() {
            addCriterion("f_apply_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateIsNotNull() {
            addCriterion("f_apply_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateEqualTo(Long value) {
            addCriterion("f_apply_card_rate =", value, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateNotEqualTo(Long value) {
            addCriterion("f_apply_card_rate <>", value, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateGreaterThan(Long value) {
            addCriterion("f_apply_card_rate >", value, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("f_apply_card_rate >=", value, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateLessThan(Long value) {
            addCriterion("f_apply_card_rate <", value, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateLessThanOrEqualTo(Long value) {
            addCriterion("f_apply_card_rate <=", value, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateIn(List<Long> values) {
            addCriterion("f_apply_card_rate in", values, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateNotIn(List<Long> values) {
            addCriterion("f_apply_card_rate not in", values, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateBetween(Long value1, Long value2) {
            addCriterion("f_apply_card_rate between", value1, value2, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFApplyCardRateNotBetween(Long value1, Long value2) {
            addCriterion("f_apply_card_rate not between", value1, value2, "fApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateIsNull() {
            addCriterion("f_invite_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateIsNotNull() {
            addCriterion("f_invite_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateEqualTo(Long value) {
            addCriterion("f_invite_card_rate =", value, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateNotEqualTo(Long value) {
            addCriterion("f_invite_card_rate <>", value, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateGreaterThan(Long value) {
            addCriterion("f_invite_card_rate >", value, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("f_invite_card_rate >=", value, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateLessThan(Long value) {
            addCriterion("f_invite_card_rate <", value, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateLessThanOrEqualTo(Long value) {
            addCriterion("f_invite_card_rate <=", value, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateIn(List<Long> values) {
            addCriterion("f_invite_card_rate in", values, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateNotIn(List<Long> values) {
            addCriterion("f_invite_card_rate not in", values, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateBetween(Long value1, Long value2) {
            addCriterion("f_invite_card_rate between", value1, value2, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteCardRateNotBetween(Long value1, Long value2) {
            addCriterion("f_invite_card_rate not between", value1, value2, "fInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateIsNull() {
            addCriterion("f_invite_vip_rate is null");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateIsNotNull() {
            addCriterion("f_invite_vip_rate is not null");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateEqualTo(Long value) {
            addCriterion("f_invite_vip_rate =", value, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateNotEqualTo(Long value) {
            addCriterion("f_invite_vip_rate <>", value, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateGreaterThan(Long value) {
            addCriterion("f_invite_vip_rate >", value, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateGreaterThanOrEqualTo(Long value) {
            addCriterion("f_invite_vip_rate >=", value, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateLessThan(Long value) {
            addCriterion("f_invite_vip_rate <", value, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateLessThanOrEqualTo(Long value) {
            addCriterion("f_invite_vip_rate <=", value, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateIn(List<Long> values) {
            addCriterion("f_invite_vip_rate in", values, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateNotIn(List<Long> values) {
            addCriterion("f_invite_vip_rate not in", values, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateBetween(Long value1, Long value2) {
            addCriterion("f_invite_vip_rate between", value1, value2, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFInviteVipRateNotBetween(Long value1, Long value2) {
            addCriterion("f_invite_vip_rate not between", value1, value2, "fInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateIsNull() {
            addCriterion("f_share_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateIsNotNull() {
            addCriterion("f_share_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateEqualTo(Long value) {
            addCriterion("f_share_card_rate =", value, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateNotEqualTo(Long value) {
            addCriterion("f_share_card_rate <>", value, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateGreaterThan(Long value) {
            addCriterion("f_share_card_rate >", value, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("f_share_card_rate >=", value, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateLessThan(Long value) {
            addCriterion("f_share_card_rate <", value, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateLessThanOrEqualTo(Long value) {
            addCriterion("f_share_card_rate <=", value, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateIn(List<Long> values) {
            addCriterion("f_share_card_rate in", values, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateNotIn(List<Long> values) {
            addCriterion("f_share_card_rate not in", values, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateBetween(Long value1, Long value2) {
            addCriterion("f_share_card_rate between", value1, value2, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andFShareCardRateNotBetween(Long value1, Long value2) {
            addCriterion("f_share_card_rate not between", value1, value2, "fShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateIsNull() {
            addCriterion("gf_apply_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateIsNotNull() {
            addCriterion("gf_apply_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateEqualTo(Long value) {
            addCriterion("gf_apply_card_rate =", value, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateNotEqualTo(Long value) {
            addCriterion("gf_apply_card_rate <>", value, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateGreaterThan(Long value) {
            addCriterion("gf_apply_card_rate >", value, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("gf_apply_card_rate >=", value, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateLessThan(Long value) {
            addCriterion("gf_apply_card_rate <", value, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateLessThanOrEqualTo(Long value) {
            addCriterion("gf_apply_card_rate <=", value, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateIn(List<Long> values) {
            addCriterion("gf_apply_card_rate in", values, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateNotIn(List<Long> values) {
            addCriterion("gf_apply_card_rate not in", values, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateBetween(Long value1, Long value2) {
            addCriterion("gf_apply_card_rate between", value1, value2, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfApplyCardRateNotBetween(Long value1, Long value2) {
            addCriterion("gf_apply_card_rate not between", value1, value2, "gfApplyCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateIsNull() {
            addCriterion("gf_invite_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateIsNotNull() {
            addCriterion("gf_invite_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateEqualTo(Long value) {
            addCriterion("gf_invite_card_rate =", value, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateNotEqualTo(Long value) {
            addCriterion("gf_invite_card_rate <>", value, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateGreaterThan(Long value) {
            addCriterion("gf_invite_card_rate >", value, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("gf_invite_card_rate >=", value, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateLessThan(Long value) {
            addCriterion("gf_invite_card_rate <", value, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateLessThanOrEqualTo(Long value) {
            addCriterion("gf_invite_card_rate <=", value, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateIn(List<Long> values) {
            addCriterion("gf_invite_card_rate in", values, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateNotIn(List<Long> values) {
            addCriterion("gf_invite_card_rate not in", values, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateBetween(Long value1, Long value2) {
            addCriterion("gf_invite_card_rate between", value1, value2, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteCardRateNotBetween(Long value1, Long value2) {
            addCriterion("gf_invite_card_rate not between", value1, value2, "gfInviteCardRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateIsNull() {
            addCriterion("gf_invite_vip_rate is null");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateIsNotNull() {
            addCriterion("gf_invite_vip_rate is not null");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateEqualTo(Long value) {
            addCriterion("gf_invite_vip_rate =", value, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateNotEqualTo(Long value) {
            addCriterion("gf_invite_vip_rate <>", value, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateGreaterThan(Long value) {
            addCriterion("gf_invite_vip_rate >", value, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateGreaterThanOrEqualTo(Long value) {
            addCriterion("gf_invite_vip_rate >=", value, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateLessThan(Long value) {
            addCriterion("gf_invite_vip_rate <", value, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateLessThanOrEqualTo(Long value) {
            addCriterion("gf_invite_vip_rate <=", value, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateIn(List<Long> values) {
            addCriterion("gf_invite_vip_rate in", values, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateNotIn(List<Long> values) {
            addCriterion("gf_invite_vip_rate not in", values, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateBetween(Long value1, Long value2) {
            addCriterion("gf_invite_vip_rate between", value1, value2, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfInviteVipRateNotBetween(Long value1, Long value2) {
            addCriterion("gf_invite_vip_rate not between", value1, value2, "gfInviteVipRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateIsNull() {
            addCriterion("gf_share_card_rate is null");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateIsNotNull() {
            addCriterion("gf_share_card_rate is not null");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateEqualTo(Long value) {
            addCriterion("gf_share_card_rate =", value, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateNotEqualTo(Long value) {
            addCriterion("gf_share_card_rate <>", value, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateGreaterThan(Long value) {
            addCriterion("gf_share_card_rate >", value, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateGreaterThanOrEqualTo(Long value) {
            addCriterion("gf_share_card_rate >=", value, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateLessThan(Long value) {
            addCriterion("gf_share_card_rate <", value, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateLessThanOrEqualTo(Long value) {
            addCriterion("gf_share_card_rate <=", value, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateIn(List<Long> values) {
            addCriterion("gf_share_card_rate in", values, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateNotIn(List<Long> values) {
            addCriterion("gf_share_card_rate not in", values, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateBetween(Long value1, Long value2) {
            addCriterion("gf_share_card_rate between", value1, value2, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andGfShareCardRateNotBetween(Long value1, Long value2) {
            addCriterion("gf_share_card_rate not between", value1, value2, "gfShareCardRate");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}